//
//  ClassifyotherCell.m
//  UI_xiangmu
//
//  Created by dllo on 15/4/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ClassifyotherCell.h"

@implementation ClassifyotherCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myimage = [[UIImageView alloc] init];
        self.namelabel = [[UILabel alloc] init];
        self.scorelabel = [[UILabel alloc] init];
        self.jishulabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.myimage];
        [self.contentView addSubview:self.namelabel];
        [self.contentView addSubview:self.scorelabel];
        [self.contentView addSubview:self.jishulabel];
        [_namelabel release];
        [_jishulabel release];
        [_myimage release];
        [_scorelabel release];
        self.jishulabel.alpha = 0.8;
        self.scorelabel.alpha = 0.8;
        
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    self.myimage.frame = CGRectMake(4, 2, 80, 116);
    self.namelabel.frame = CGRectMake(100, 20, 260, 20);
    self.jishulabel.frame = CGRectMake(100, 43, 260, 20);
    self.scorelabel.frame = CGRectMake(100, 66, 260, 20);
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
